#!/usr/bin/python
# -*- coding: UTF-8 -*-
"""
-------------------------------------------------
   文件名（File Name）：     YOU GET FILTERED2.6.1
   开源许可证书（License） :    Mulan PSL v1和 GPLv3 
   作者（Author） :             林之松(samlin)
   日期（date）：          2019/10/30
-------------------------------------------------
   Change Activity:
                             2019/11/12:
-------------------------------------------------
Copyright (c) [2019] [林之松]
[You Get Filtered2.6.1] is licensed under the Mulan PSL v1.
You can use this software according to the terms and conditions of the Mulan PSL v1.
You may obtain a copy of Mulan PSL v1 
at:http://license.coscl.org.cn/MulanPSL

THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
PURPOSE.

See the Mulan PSL v1 for more details.

__________________________________________________
"""
import random
import string
# 过滤使用奇数定量标记的元素（内存的缓存和系统的缓存） 
 
def is_odd(n):
    return n % 2 == 1
# 立方体算法:对于一个nxn的正方网格，
# 网格的数量可以通用公式去表示：立方体的总数 = [n(n+1)/2]x [n(n+1)/2]
# 当立方体的边长设为1比特， 它的体积1的3次方.
# 立方体的总体积:[n(n+1)/2]x [n(n+1)/2] 比特
a = 1
b = 3*a
JAVA = 7*a
jar = 9*a
malware = 231*a
WScript = 225*a
c =[120,118,50,90,180,333]
d =max(c)
x = random.randint(2,9)
worm1 =x*(x+1)/2
worm2 =x*(x+1)/2
worm = worm1*worm2
newlist = filter(is_odd, [a, 2, b, 4, 5, 6, 7, 8, 9, 10,d,36,100,225,231,776,1296,2025,worm])
print("FILTER complete",newlist)
# 随机整数：
print x
print worm
